import queue
import time

# 初始化一个队列
data_queue = queue.Queue()
info_queue = queue.Queue()

def infoIn(info):
    info_queue.put(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()) + "    -    " + info)
def infoOut():
    return info_queue.get()
